#ifndef _ANIMATION_PROFILE_H_
#define _ANIMATION_PROFILE_H_

#include <vector>
#include <SFML/System.hpp>

class AnimationProfile
{
public:
	AnimationProfile(int w, int h,
		int xoffset, int yoffset, int numFrameInRow,
		int xGap, int yGap, int numFrame);
	~AnimationProfile();
	const sf::Rect<int>& getFrame(int index) const;
	unsigned int getFrameCount() const;
	//AnimationProfile& operator=(const AnimationProfile& other);

	int w,h,xoffset,yoffset,numFrameInRow,xGap,yGap,numFrame;
private:
	void generateFrameRects(int w, int h,
		int xoffset, int yoffset, int numFrameInRow,
		int xGap, int yGap, int numFrame);
	std::vector<sf::Rect<int>> frames;
};

#endif